package com.markerhub.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("m_course")
public class Course implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String courseName;

    private LocalDateTime createdTime;

    /**
     * 课程状态：0表示已创建，1表示已开放；2表示结束关闭
     */
    private String status;

    /**
     * 关联的活动id
     */
    private Integer activityId;

    /**
     * 授课教师id
     */
    private Integer teacherId;

    /**
     * 关联的教学班
     */
    private Integer classId;


}
